<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
    <script type="text/javascript" src="/StudentInfo/utils/scripts/flat-ui.js"></script>
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="shortcut icon" href="/StudentInfo/utils/image/favicon.ico"
          type="image/x-icon" />
    <meta charset="UTF-8">
    <title>选课管理系统</title>

    <!-- 标题图标、CSS、js、jQ
    <link href="/online/image/favicon.ico" rel="shortcut icon">
    <link rel="stylesheet" type="text/css" href="/online/css/main.css">
    <script src="/online/js/fun.js" type="text/javascript"></script>-->
    <script type="text/javascript" src="/StudentInfo/utils/js/jquery-3.3.1.min.js"></script>
    <!-- Loading Bootstrap -->
    <link href="/StudentInfo/utils/css/vendor/bootstrap.min.css" rel="stylesheet">
    <!-- Loading Flat UI Pro -->
    <link href="/StudentInfo/utils/css/flat-ui.css" rel="stylesheet">
    <!-- Loading Flat UI JS -->
    <script type="text/javascript" src="/StudentInfo/utils/scripts/flat-ui.min.js"></script>
    <script type='text/javascript' src='/StudentInfo/utils/scripts/particles.js'></script>
    <link href="/StudentInfo/utils/css/animate.css" rel="stylesheet">
</head>

<body>
<div id="particles-js"><canvas class="particles-js-canvas-el" width="1322" height="774" style="width: 100%; height: 100%;"/></div>

<jsp:include page="studentLeft.jsp" />
<div class="container">
    <div class="row" style="font-size: 22px">
        <div class="col-md-12">
            <h6>确认选课</h6>
            <div class="alert alert-info" role="alert">
                <div class="row">
                    <div class="col-md-3" style="text-align: right">
                        <div>课程编号：</div>
                        <div>课程简介：</div>
                        <div>课程名：</div>
                        <div>类型：</div>
                        <div>课程时间安排：</div>
                        <div>教室：</div>
                        <div>授课教师：</div>
                        <div>教师简介：</div>
                    </div>
                    <div class="col-md-8">
                        <div>${courseVo.CId}</div>
                        <div>${courseVo.CIntroduction}</div>
                        <div>${courseVo.CName}</div>
                        <div>${courseVo.type}</div>
                        <div>${courseVo.courseWeek} ${courseVo.courseTime}</div>
                        <div>${courseVo.classRoom}</div>
                        <div>${courseVo.TName}</div>
                        <div>${courseVo.introduction}</div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-12">
            <div class="row" style="justify-content: center; align-items: center;">
                <div class="col-sm-3" style="margin-top:1rem">
                    <form action="/StudentInfo/StudentHandler/confirmCourse" method="post">
                        <input type="hidden" name="cid" value="${courseVo.CId}"/>
                        <input type="hidden" name="totalNum" value="${courseVo.totalNum}"/>
                        <input type="submit" class="btn btn-primary btn-wide login-btn" value="确定选课" />
                    </form>
                </div>
                <div class="col-sm-2" style="margin-top:1rem">
                    <form action="/StudentInfo/StudentHandler/queryStudentCourse" method="get">
                        <input type="submit" class="btn btn-warning btn-wide login-btn" value="取消选课" />
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="/StudentInfo/utils/scripts/flat-ui.js"></script>
<script src="/StudentInfo/utils/scripts/bganimation.js"></script></body>
</html>